import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import axios from "axios"
// import { createApp } from "vue";
import Vant from "vant"; // 整体导入vant组件库
import "vant/lib/index.css"; // 引入vant样式表
import "amfe-flexible"; //rem转化的工具
// createApp(App).use(store).use(router).use(Vant).mount("#app");

Vue.config.productionTip = false
import { Button, Tabbar, TabbarItem, Swipe, SwipeItem ,Form ,Field,DropdownMenu, DropdownItem ,Icon,Popup} from 'vant';
Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Form);
Vue.use(Field);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Icon);
Vue.use(Popup);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
